# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

if((CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP OR
    CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP_NS OR
    CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001 OR
    CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001_NS) AND
   CONFIG_BOARD_ENABLE_CPUNET)
  zephyr_library()
  zephyr_library_sources(nrf5340_cpunet_reset.c)
endif()
